package cn.tedu.spring.eg4;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestShopcontroller {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context =
                new AnnotationConfigApplicationContext("cn.tedu.spring.eg4");
        context.getBean(Shopcontroller.class);

        System.out.println("4.使用阶段[getBean()[方法]");

        context.close();
    }
}
